import { App } from 'vue';
import { SFCWithInstall } from '../utils/type';
import treeNode from '../tree/treeNode';

treeNode.install = (app: App) => {
  app.component(treeNode.name, treeNode);
}

export default treeNode as SFCWithInstall<typeof treeNode>;